{{ define "bashible_bashbooster_render" }}
  {{- $context := . -}}
  {{- $bb_files := list -}}
  {{- range $path, $_ := $context.Files.Glob "candi/bashible/bashbooster/*" -}}
    {{- $bb_files = append $bb_files $path -}}
  {{- end -}}
{{ range $path := ( $bb_files | sortAlpha ) }}{{ $context.Files.Get $path }}{{ end }}
{{- end }}
---
apiVersion: v1
kind: Secret
metadata:
  name: bashible-bashbooster
  namespace: d8-cloud-instance-manager
  {{- include "helm_lib_module_labels" (list $) | nindent 2 }}
type: Opaque
data:
  bashbooster.sh: {{ include "bashible_bashbooster_render" . | b64enc }}
